<template>
	<nav-bar>
		<div class="nav-bar-left">
			<slot name="left"></slot>
		</div>
		<div class="nav-bar-center">
			<slot name="center"></slot>
		</div>
		<div class="nav-bar-right">
			<slot name="right"></slot>
		</div>
	</nav-bar>
</template>

<script>
	import NavBar from './NavBar.vue'
	export default {
		name: 'NavBarItem',
		components: {
			NavBar
		}

	}
</script>

<style>
	.nav-bar-left {
		width: 60px;
		/* background-color: yellow; */
	}
	.nav-bar-center {
		flex: 1;
	}
	.nav-bar-right {
		/* background-color: green; */
		width: 60px;
	}
</style>
